<?php
class main_act extends Action
{
	
    public function init()
    {
		$this->tpl = new Template();
		$this->db = select_db();
    }
	
	public function index(){
		
		_e('this is app');
		
	}
	
	public function news(){

		_e($_GET);
		
	}
	
}	
runapp();
?>